import React from 'react';
import { useNavigate } from 'react-router-dom';
import './style.scss';
const User = () => {
    const navigate = useNavigate();
    const toError = () => {
        navigate('/error');
    };
    return (
        <div onClick={toError}>
            用户页面
            <div id="container"></div>
        </div>
    );
};
export default User;
